package com.bdsoft.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 内容-资讯对象 cms_news
 * 
 * @author 杜明珅
 * @date 2025-10-28
 */
public class CmsNews extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String imageUrl;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 排序 */
    @Excel(name = "排序")
    private Long displayOrder;

    /** 跳转路径 */
    @Excel(name = "跳转路径")
    private String renderUrl;

    /** 是否显示 */
    @Excel(name = "是否显示")
    private Integer ENABLE;

    /** 删除标记（0-正常，1-删除） */
    private Integer delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setDisplayOrder(Long displayOrder) 
    {
        this.displayOrder = displayOrder;
    }

    public Long getDisplayOrder() 
    {
        return displayOrder;
    }

    public void setRenderUrl(String renderUrl) 
    {
        this.renderUrl = renderUrl;
    }

    public String getRenderUrl() 
    {
        return renderUrl;
    }

    public void setENABLE(Integer ENABLE) 
    {
        this.ENABLE = ENABLE;
    }

    public Integer getENABLE() 
    {
        return ENABLE;
    }

    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imageUrl", getImageUrl())
            .append("title", getTitle())
            .append("displayOrder", getDisplayOrder())
            .append("renderUrl", getRenderUrl())
            .append("ENABLE", getENABLE())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
